package com.example.design.proxy.statical.sailtowel;

/**
 * @Description 毛巾上产厂商，真实主题（Real Subject）类
 * @ClassName TowelProduce
 * @Author Yumuhui
 * @Date 2020/5/13 23:54
 * @Version 1.0.0
 */
public class TowelProduce implements SailTowel {

    String consumerName;

    public TowelProduce(String consumerName) {
        this.consumerName = consumerName;
    }

    @Override
    public void sailTowel() {
        System.out.println(String.format("毛巾卖给了%s", consumerName));
    }
}
